package cn.newhopedairy.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity;

/**
 * 其中服务发现的注解@EnableDiscoveryClient可以省略，原因待发掘，网关自动引入？
 *
 * @author Neo.Li
 */
@EnableWebFluxSecurity
@SpringBootApplication
public class GatewayApplication {
	public static void main(String[] args) {
		SpringApplication.run(GatewayApplication.class, args);
	}
}